#include <ezwin.h>
#include <cmath>
#include <cassert>
#include "rect.h"
SimpleWindow window("GraphPlotter",10.0,10.0,Position(4.0,1.0));
int ApiMain()
{
float x,y;
float i;
window.Open();
assert(window.GetStatus() == WindowOpen);
window.RenderLine(Position(5.0,1.0),Position(5.0,9.0),Black,0.0);
window.RenderLine(Position(1.0,5.0),Position(9.0,5.0),Black,0.0);
for(i=-2.0;i<=2.0;i+=0.0001)
{
y=i*i;
window.RenderLine(Position(5.0,5.0)+Position(i,-y),Position(5.0,5.0)+Position(i,-y),Red,0.0);
}
}


